﻿html, body {
    background-color: transparent;
}

img.dx-icon {
    width: 16px !important;
    height: 16px !important;
}

.container {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

body > .container .toolbar {
    border-bottom: 2px solid #eee;
}

body > .container .main {
    flex: 1;
    height: 0;
}

    body > .container .main .exam-form {
        position: relative;
        height: 100%;
    }

.appointment-plan-container {
    width: 100%;
    font-weight: 100;
    user-select: none;
}

    .appointment-plan-container table {
        border: 1px solid #ccc;
    }

        .appointment-plan-container table tr {
            height: 30px;
            border-bottom: 1px solid #ccc;
        }

        .appointment-plan-container table td,
        .appointment-plan-container table th {
            position: relative;
            padding: 1px 4px;
            text-align: center;
            min-width: 100px;
            max-width: 200px;
            border-right: 1px solid #ccc;
        }

    .appointment-plan-container .time-interval-text {
        width: 100px;
        font-size: 14px;
        text-align: center;
    }

    .appointment-plan-container .plan {
        cursor: pointer;
    }

        .appointment-plan-container .plan .plan-progress {
            position: absolute;
            left: 3px;
            top: 3px;
            width: calc(100% - 6px);
            height: calc(100% - 6px);
            border: 1px solid #bdc3c7;
        }

        .appointment-plan-container .plan .plan-progress-value {
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            background-color: #bdc3c799;
        }

        .appointment-plan-container .plan .plan-progress-text {
            position: absolute;
            font-size: 12px;
            line-height: 22px;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
        }

        .appointment-plan-container .plan.selected .plan-progress {
            border-color: #d35400;
        }

        .appointment-plan-container .plan.selected .plan-progress-value {
            background-color: #e67e2299;
        }

        .appointment-plan-container .plan .noplan {
            font-size: 11px;
        }

.amis-dialog-widget .antd-Modal-content.has-popover .antd-Select-popover {
    display: none !important;
}

/* amis组件样式*/
.cxd-Table.cxd-Crud-body {
    margin: 0;
}

/**/
.cxd-Collapse-header {
    width: 100% !important;
    border-bottom: 1px solid #ccc !important;
    border-radius: 0 !important;
    padding: 8px 4px !important;
    font-weight: bold !important;
    margin: 0.6rem 0 1rem 0 !important;
}

.cxd-Table-placeholder {
    display: none;
}

.cxd-Tabs-link {
    display: flex !important;
    flex-direction: column;
    align-items: center;
}

/* InputTree */
.amis-scope .cxd-TreeControl {
    border: none !important;
}

/* ListSelect */
.cxd-ListControl-items {
    display: flex !important;
    flex-direction: column !important;
    margin-top: 1px !important;
}
/* 下拉选择按钮*/
.addPatientMatter {
    float: right;
    margin-top: 16px;
    margin-right: 30px;
    margin-bottom: 18px;
}
/* 清除浮动*/
.clearfix :after {
    clear: both
}

/*span标签*/
.label .label-info {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: 300;
    line-height: 1;
    color: #fff;
    text-align: center;
    vertical-align: baseline;
    border-radius: .25em;
    background: #2468f2;
}


.cxd-ListControl-items .cxd-ListControl-item {
}

.form-flex {
    flex-flow: nowrap !important;
}

    .form-flex .cxd-Container {
        flex: 1 1 50% !important;
    }

    .form-flex > :nth-child(1) {
        margin-right: 3rem;
        position: relative !important;
    }

        .form-flex > :nth-child(1)::before {
            content: " ";
            position: absolute;
            width: 1px;
            background: linear-gradient(to bottom, #fafafa, #ccc 50%, #fafafa);
            top: 0;
            bottom: 0;
            right: -1.5rem;
        }

@media (max-width: 1100px) {
    .form-flex {
        flex-flow: wrap !important;
    }

        .form-flex .cxd-Container {
            flex: 1 1 600px !important;
        }

        .form-flex > :nth-child(1) {
            margin-right: unset;
            border-right: none !important;
        }

            .form-flex > :nth-child(1)::before {
                display: none;
            }
}

/*添加检查项目、添加检查部位按钮位置*/
.cxd-Crud-toolbar-item .add-Button {
    margin-right: 30px;
}

.cxd-ListControl-items .is-active:before {
    display: none !important;
}
